<?php
/**
 * Template for displaying search forms in Twenty Seventeen
 *
 * @package WordPress
 * @subpackage Twenty_Seventeen
 * @since 1.0
 * @version 1.0
 */

?>

<?php $unique_id = esc_attr( uniqid( 'search-form-' ) ); ?>

<form role="search" method="get" class="search-form" action="/">
	<label for="<?php echo $unique_id; ?>"><span class="screen-reader-text">搜索</span></label>
	<input type="search" id="<?php echo $unique_id; ?>" class="search-field" placeholder="输入要搜索的关键字" value="<?php echo get_search_query(); ?>" name="s" />
	<button type="submit" class="search-submit">搜索<span class="screen-reader-text">提交按钮</span></button>
</form>
